package edu.tcc.core.starter;

import javax.swing.UIManager;

import edu.tcc.core.service.FimService;


public class FimStarter {

	public static void main(String[] args) {
		setLookAndFeel();
		initialize();
	}

	private static void initialize() {
		/*
		Connection connection = ConnectionFactory.createConnection("root");
		DatabaseManager databaseManager = new DatabaseManager(connection);
		*/
		new FimService().initialize();
	}

	private static void setLookAndFeel() {
		try {
			UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
		}
		catch (Exception e) {
			System.err.println("Error while setting look and feel.");
			e.printStackTrace();
		}
	}
}